package com.lc.service;

import com.cnpc.framework.base.entity.BaseResponse;
import com.cnpc.framework.base.service.BaseService;
import com.lc.entity.Msg;

/**
 * Created by 下雨不带伞 on 2020/9/7.
 */
public interface MsgService extends BaseService {

    public BaseResponse editMsg(Msg msg) throws Exception;
    public BaseResponse getMsgList(String userId, String keyword, String status, String startTime, String endTime, Integer pageNum, Integer pageSize) throws Exception;
    public BaseResponse getAppMsgList(String userId, String keyword, String status, String startTime, String endTime, Integer pageNum, Integer pageSize) throws Exception;
    public BaseResponse updateAndGetMsg(Integer msgId, String userId) throws Exception;
    public BaseResponse deleteMsg(String msgId) throws Exception;
}
